:root{
    --primary: rgba(8, 8, 167, 0.627);
    --seccondary: red;
    --primary-hover:darkblue;
}
body{
  background-color: rgba(228, 228, 238, 0.226);
  color: black;
  height: auto;
  overflow-y: auto;
  transition: 0.5s;
}

body.loading {
  height: 100%;
  overflow: hidden;
}


/* Whole page light blue */
body {
  margin: 0;
  padding: 0;
  background: #e9eef0; /* light blue */
  font-family: Arial, sans-serif;
}

/* Preloader container */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ADD8E6; /* light blue always */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
}

/* Preloader content */

.preloader-content {
  text-align: center;
  color: #000;
  animation: popIn 0.8s ease forwards;
}

.preloader-content h1,
.preloader-content p {
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3); /* shadow behind text */
}

/* Computer icon animation */
.computer-icon {
  font-size: 70px;
  animation: pulse 1s infinite alternate;
}

/* Heading style */
.preloader-content h1 {
  margin: 15px 0 5px;
  font-size: 28px;
  font-weight: bold;
}

/* Small text */
.preloader-content p {
  font-size: 18px;
  opacity: 0.9;
}

/* Horizontal animated line */
.loading-line {
  margin: 15px auto 0;
  width: 150px;
  height: 4px;
  background: #000;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.loading-line::before {
  content: "";
  position: absolute;
  left: -150px;
  top: 0;
  width: 150px;
  height: 100%;
  background: #fff;
  animation: moveLine 1.2s linear infinite;
}

@keyframes moveLine {
  0% { left: -150px; }
  100% { left: 150px; }
}

/* Pop-in animation */
@keyframes popIn {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Pulse animation for icon */
@keyframes pulse {
  from { transform: scale(1); }
  to { transform: scale(1.2); }
}

/* Main page styling */
.main-content {
  padding: 40px;
  text-align: center;
  color: #000;
}

 /* Secondary Navbar */
    .top-navbar {
        /* Dark background */
      background: #302a9b;
      background: linear-gradient(90deg, rgba(48, 42, 155, 0.99) 0%, rgba(87, 143, 199, 1) 61%, rgba(83, 237, 237, 1) 100%);
      color: white;
      font-size: 14px;          /* Smaller text */
      padding: 5px 20px;        /* Thin height */
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 50px;
    }

    .top-navbar a {
      color: #ffffff;
      padding: 8px 15px;
      background-color: rgba(0, 0, 139, 0.605);
      border-radius: 25px;
      text-decoration: none;
      margin-left: 15px;
      transition:.7s;
      margin-top: 100px;
    }

    .top-navbar a:hover {
      color: #fff;
      background-color: darkblue;
      scale: 1.5;
    }
nav{
    background-color: rgb(181, 188, 212)
   
    
}
.nav-logo{
  height: 60px;
  width: 60px;
}
.nav-logo-name{
  display: inline;
  font-size: 25px;
  position: absolute;
  top:21px;
  margin-left: 5px;
}
.login-button{
    background-color: var(--primary);
    color: white;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: .3s background-color;
}
.login-button:hover{
    background-color:var(--primary-hover);
}
.navbar-toggler{
    border: none;
}
.navbar-toggler:focus,.btn-close:focus{
    box-shadow: none ;
    outline: none;
}
.nav-link{
    font-weight:500;
    position: relative;
}
.nav-link:hover{
    color: var(--primary);
}


.go-to-top{
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 1;
}
.carousel-item{
  background-color: black;
}
.carousel-item img{
    height: 90vw;
    opacity: .7;
}
.carousel-caption{
    position:absolute;
    top: 40%;
    text-align: left;
    gap: 0;
}
.school-name{
    font-size: 55px;
   font-weight: 600;
}
.quote{
    position: absolute;
    top:90px;
   font-size: 25px;
   font-weight: 500;
}
.btns{
    margin-top: 35px;
}
.btn1{
    border: 2.5px solid var(--primary);
    background-color: var(--primary);
    font-size: 15px;
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    font-weight: 400;
    transition: .5s ease-in-out;
}
.btn1:hover{
    background-color: white;
    color: black;
}
.btn2{
    border: 2.5px solid var(--primary);
    font-size: 15px;
    font-weight: 400;
    padding: 10px 20px;
    border-radius: 5px;
    margin-left: 15px;
    transition: .5s ease-in-out;
}
.btn2:hover{
    background-color: var(--primary);
    color: white;
}
.dropdown-ul{
  padding: 0;
}
.dropdown-item{
  padding: 10px 16px;
}
.dropdown-item:hover{
  color:black;
  background: #ffffff;
background: linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(87, 143, 199, 1) 100%, rgba(83, 237, 237, 1) 100%);
}






.heading {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 20px;
      font-family: Arial, sans-serif;
      color: #e53935; /* red color */
      font-weight: bold;
      margin: 50px 0;
    }

    .lines {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 20px;
    }

    .line {
      height: 2px;
      background-color: #e53935;
      width: 100px;
    }

    .line.short {
      width: 40px;
      align-self: flex-end;
    }
     .line.short.second{
        align-self: flex-start;
    }
    .text {
      font-size: 18px;
      letter-spacing: 2px;
    }
    .notice-div{
        background-color: #eeeeee;
        border-radius: 10px;
        border: 0.2px solid black;
        height: 200px;
        width: 90%;
        margin: auto;
        padding: 50px 5px;
    }
    .notice-div marquee img{
        height: 25px;
        width: 35px;
    }
    .notice-div marquee:hover{ 
        scroll-behavior:none;
    }
    .modal-backdrop{
        z-index: 1;
    }
    .btn{
        background-color: var(--primary);
        color: white;
    }
    .btn:hover{
        background-color: var(--primary-hover);
        color: white;
    }
    .right-arrow{
        color: red;
    }
    .p-4{
        background-color: #F0FBFC;
        border-radius: 10px;
        transition: .3s;
    }
    .p-4:hover{
        transform: scale(1.05);
        background-color: #d1f7fa;

    }
    .p-4 i{
        color: var(--primary);
    }

    .faq{
        width: 90%;
        margin: auto;
        align-items: center;
    }
    .full-faq{
        text-align: center;
        margin-bottom: 25px;
    }
       .supportive-institution{
        width: 90%;
        margin: auto;
        align-items: center;
    }
    .supportive-institution img{
        width: 100%;
        height: 95%;
        border-radius: 15px;
        border: 2.5px solid black;
    }
    .p-4 img{
      height: 200px;
      width: 200px;
      border-radius: 15px;
    }
    .all{
      width: 90%;
      margin: auto;
      align-items: center;
    }
    .all-faculity{
      align-items: center;
      margin-top: 50px;
      width: 100%;
    }

    /*LOGIN/REGISTER*/
    .login-card{
      background-color: rgba(0, 0, 0, 0.041);
      box-shadow: 10px 10px 20px black;
      
    }
    .login-form{
      display: flex;
      flex-direction: column;
    }
    .input-bg{
      border: 1px solid black;
    }
    .register-now{
      text-decoration: none;
    }


    @media (min-width:900px) {
       .carousel-item img{
         height: 650px;
        }
        .ablogo{
          display: none;
        }
}
        @media (max-width:600px) {
        .school-name{
          font-size: 35px;
          position: absolute;
          top:0;
        }
        .quote{
          
        }
        .btn1,.btn2{
          padding: 5px 10px;
        }


        
}
